/*
 * Copyright (c) 2019 DawnFramework. All Rights Reserved.
 * Licensed under the MIT (LICENSE) license.
 */

package org.dawn.common.web.model;

import lombok.Getter;
import org.dawn.common.core.mode.ToString;

import java.util.Collection;

/**
 * @author Willard Hu on 2019-05-19.
 */
@Getter
public abstract class PageModel<T> extends ToString {
    private static final long serialVersionUID = -6661454514144707331L;
    /** 页码 */
    protected int page;
    /** 每页行数 */
    protected int rows;
    /** 总行数 */
    protected int totalCount;
    /** 总页数 */
    protected int totalPage;
    /** 数据集合 */
    protected Collection<T> model;
}
